package com.yuanfeng.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 聚宝等级
 * @TableName base_treasure_grade
 */
@TableName(value ="base_treasure_grade")
@Data
public class BaseTreasureGradeEntity implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer treasureGradeId;

    /**
     * 等级名称
     */
    private String treasureGrade;

    /**
     * 赠送次数
     */
    private Integer numberOfGifts;

    /**
     * 赠送年数
     */
    private Integer numberOfYears;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateDate;

    /**
     * 权重
     */
    private Integer displayOrder;

    /**
     * 订单满额
     */
    private BigDecimal orderFullAmount;

    /**
     * 等级logo
     */
    private String treasureGradeLogo;

    /**
     * 等级缴纳金额
     */
    private BigDecimal treasurePayment;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}